import React, { Component } from 'react';
import {
    StyleSheet,
    Text,
    View,
    TouchableOpacity
} from 'react-native';
export default class Data extends Component {
    static navigationOptions = {
        headerTitle: '数据',
    };
    render() {
        const { navigate } = this.props.navigation;
        return (
            <View style={styles.container}>
                <View style={styles.title}>
                    <Text style={styles.text}>
                        数据
                    </Text>
                </View>                 
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor: '#F5FCFF',
    },
    title: {
        backgroundColor: '#34475d',
        justifyContent: 'center',
        height:50,
    },
    text: {
        fontSize: 20,
        color:'#F5FCFF',
        textAlign: 'center',
        margin: 10,
    },
});